<?php namespace Cms;

use Hdphp\Controller\Controller as BaseController;

class Controller extends BaseController
{
	public function ajaxReturn($code,$message,$data=array())
	{
		$json = array(
			'code'    => $code,
			'message' => $message,
			'data'=>$data
			);
		$this->ajax($json);
	}
}